

import requests
from fake_useragent import UserAgent
import time
import json
# headers = {}
# ua = UserAgent(verify_ssl=False,use_cache_server=False,cache=False)
url = 'http://www.baidu.com/'
# headers['User-Agent'] = ua.chrome
#
# print(headers)
# html = requests.get(url,headers=headers)
# html.encoding='UTF-8'
# print(html.encoding)
# print(html.headers)
# print(html.text)
# print(requests.__version__)

# proxies = {
#            'http':  '47.98.179.39:8080',
#            'https': '113.237.3.178:9999',
#            }
# res = requests.get(url=url,proxies=proxies)
# res.encoding = 'utf-8'
# print(res.text)


# m_list  = [lambda x: x*i for i in range(3)]
# for m in m_list:
#     print(m(2))
# def my(func):
#     def inner(*args,**kwargs):
#         inner.i +=1
#         return func(*args,**kwargs)
#     inner.i = 0
#     return inner
# @my
# def text():
#     pass
# text()
# text()
# text()
# print(text.i)
# import json
# set1 = {4 ,'d','s'}
# set1.update({'kk':6})
# # set1.add({'kk':6})
# print(set1)
import json


str1 = '{"kk":6}'
print(str1)

print(json.loads(str1))







